/*
 * Copyright 2008,2009,2010 Daniel Freitas
 * 
 * This file is part of DMF Generic DAO.
 * 
 * DMF Generic DAO is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
 * Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any
 * later version.
 * 
 * DMF Generic DAO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 * 
 * You should have received a copy of the GNU Lesser General Public License along with DMF Generic DAO. If not, see
 * <http://www.gnu.org/licenses/>.
 */
package com.googlecode.dmf.genericdao.exceptions;

import com.googlecode.dmf.genericdao.annotaions.QueryMethod;

/**
 * Thrown to indicate that the invoked generic DAO query method was not annotated with the {@link QueryMethod}
 * annotation.
 * 
 * @author <a href="mailto:daniel.mfreitas@gmail.com">Daniel Freitas</a>
 */
public class MissingQueryAnnotationException extends RuntimeException {

    /**
     * @see RuntimeException#RuntimeException()
     */
    public MissingQueryAnnotationException() {
        super();
    }

    /**
     * @see RuntimeException#RuntimeException(String, Throwable)
     */
    public MissingQueryAnnotationException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * @see RuntimeException#RuntimeException(String)
     */
    public MissingQueryAnnotationException(String message) {
        super(message);
    }

    /**
     * @see RuntimeException#RuntimeException(Throwable)
     */
    public MissingQueryAnnotationException(Throwable cause) {
        super(cause);
    }

    private static final long serialVersionUID = 5942665099051127109L;
}
